package com.bw.service.impl;

import com.bw.entity.OrderInfo;
import com.bw.mapper.OrderMapper;
import com.bw.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class OrderServiceImpl implements OrderService {


    @Autowired
    OrderMapper orderMapper;

    @Transactional
    @Override
    public void add(OrderInfo info) {
        orderMapper.add(info);
    }
}
